

LANGUAGE_CODE = 'zh-hans'
SMS = 666

# 腾讯云短信的 app_id
TENCENT_SMS_APP_ID = 666666666
# 腾讯云短信应用的appkey
TENCENT_SMS_APP_KEY = 66666666666

#腾讯云短信的签名内容
TENCENT_SMS_SING = "Python 之路"

# 配置文件 settings.py (建议local_settings.py)

CACHES = {
    "default": {
        "BACKEND": "django_redis.cache.RedisCache",
        "LOCATION": "redis://192.168.233.232:6379", # 安装redis的主机的 IP 和 端口
        "OPTIONS": {
            "CLIENT_CLASS": "django_redis.client.DefaultClient",
            "CONNECTION_POOL_KWARGS": {
                "max_connections": 1000,
                "encoding": 'utf-8'
            },
            "PASSWORD": "ltz199806" # redis密码
        }

    },
    "master": {
        "BACKEND": "django_redis.cache.RedisCache",
        "LOCATION": "redis://192.168.233.232:6379", # 安装redis的主机的 IP 和 端口
        "OPTIONS": {
            "CLIENT_CLASS": "django_redis.client.DefaultClient",
            "CONNECTION_POOL_KWARGS": {
                "max_connections": 1000,
                "encoding": 'utf-8'
            },
            "PASSWORD": "ltz199806" # redis密码
        }
    }
}
